(function (exports) {

    var $ = null;

    var LoadingLayer = cc.Layer.extend({

        onEnter: function () {
            cc.Layer.prototype.onEnter.call(this);
        },
        onCCSLoadFinish: function () {
            var that = this;
        },
        onExit: function () {
            cc.Layer.prototype.onExit.call(this);
        },
        ctor: function () {
            this._super();

            var that = this;

            loadCCSTo(res.LoadingLayer_json, this, "Layer");
            $ = create$(this.getChildByName("Layer"));
            shipei($);

            playFrameAnim2('res/image/loading/loading.plist', "jz", 1, 15, 0.1, true, $("root.bg"));
        },
    });
    exports.LoadingLayer = LoadingLayer;
})(window);
